package com.webbdong.aop.agent.test.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @program: spring-agent
 * @description:
 * @author: zt22328 赵儒定
 * @create: 2023-05-05 10:54
 **/
@Data
@NoArgsConstructor
public class ThrowableInfo {

    /**
     * md5key(exClass:message:stackTraceDetail)
     */
    private String throwableId;

    private Class<? extends Throwable> exClass;

    private String message;

    private LocalDateTime triggerTime;

    private String stackTraceDetail;

    private String traceId;

    private String requestUrl;


    public ThrowableInfo(Throwable throwable) {

    }
}
